package com.zjs.jsp.domain.stats;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;
import org.springframework.data.annotation.Id;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 李文
 * @create 2018-07-18 15:15
 **/
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class OrderStatus
{

    @Id
    private String id;

    /**
     * 异常订单原因
     */
    private String ar;

    /**
     * 取消原因
     */
    private String cr;
    /**
     * 异常编码
     */
    private String ec;

    /**
     * 状态宅急送
     */
    private Integer os;
    /**
     * 订单号
     */
    private String poc;

    /**
     * 工作单号
     */
    private String mid;

    /**
     * 派送员工号
     */
    private String rc;
    private BigDecimal lat;
    private BigDecimal lng;
    /**
     * 派送员联系方式
     */
    private String rm;
    /**
     * 派送员姓名
     */
    private String rn;

    /**
     * 是否下发
     */
    private Integer su;

    /**
     * 操作时间
     */
    private Long tsu;

    /**
     * 发送成功实践
     */
    private Date date;

    /**
     * 客户标识
     */
    private String customerBs;

    public OrderStatus(String ar, String cr, String ec, Integer os, String poc, String rc, BigDecimal lat,
                       BigDecimal lng, String rm, String rn, Long tsu) {
        super();
        this.ar = ar;
        this.cr = cr;
        this.ec = ec;
        this.os = os;
        this.poc = poc;
        this.rc = rc;
        this.lat = lat;
        this.lng = lng;
        this.rm = rm;
        this.rn = rn;
        this.tsu = tsu;
    }
    public OrderStatus(){}
}
